package com.qfedu.lk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户表(User)表实体类
 *
 * @author makejava
 * @since 2024-11-09 13:00:54
 */



@Data
@NoArgsConstructor
@TableName("t_user")
public class User extends Model<User> {
    //id
    @TableId(type = IdType.AUTO)
    private Integer uid;
    //昵称
    private String username;
    //密码
    private String password;
    //性别
    private String sex;
    //手机号
    private Integer phone;
    //权限;0 管理员 1用户
    private Integer level;


}

